package com.yb.guigu.pick.security.generator;

import com.yb.guigu.pick.security.bean.GuiguPickUserRequest;
import com.yb.guigu.pick.security.bean.GuiguPickUser;
import org.springframework.security.core.Authentication;

public interface AuthenticationTokenGenerator {
    Authentication unauthenticated(GuiguPickUserRequest userRequest);

    boolean support(GuiguPickUserRequest userRequest);

    boolean support(GuiguPickUser guiguPickUser);

    Authentication authenticated(GuiguPickUser guiguPickUser);
}
